package org.lanqiao.aop;

//普通类-->前置通知

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class LogBefore implements MethodBeforeAdvice {

    //前置通知的具体内容
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("前置通知....");

    }
}
